	    <% content_for :sidebar do -%>
	    <div class="side_box">
                <ul class="menu">
                    <% unless current_user.nil? -%>
                        <li><%= image_tag("add.png", :align=>"absmiddle")%> <%= link_to '建立小组', new_group_path %></li>
                    <% end -%>
                    <li><%= image_tag("house_go.png", :align=>"absmiddle")%> <%= link_to '查看所有小组', all_groups_path %></li>
                </ul>
            </div>
            <div class="tab">
  		<h3>小组搜索</h3>
	    </div>
	    <div class="clear">
		<%= render :partial=> 'searchForm'%>
	    </div>
	    
	    <div class="tab">
  		<h3>热门小组</h3>
	    </div>
	    <div class="clear">
		<%= render :partial => 'shared/grouplist', :object => @hot_groups%>
	    </div>
		
	    <div class="tab">
  		<h3>新成立小组</h3>
	    </div>
	    <div class="clear">
		<%= render :partial => 'shared/grouplist', :object => @new_groups%>
	    </div>
	    <% end -%>
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
		当前位置 
		» <%= link_to "您这儿", :controller =>'browse', :action => 'index' %> 
		» <%= link_to "小组", groups_path %> 
            </div>
            <% end -%>
            <% if !current_user.nil? -%>
		<div class="box">
	            <h3>我管理的小组　· · · · · ·</h3>
		    <hr/>
		    <%= render :partial => 'shared/biggrouplist', :object => @groups_admin%>
		</div>
		<div class="box">
		    <h3>我参加的小组　· · · · · ·</h3>
		    <hr/>
		    <%= render :partial => 'shared/biggrouplist', :object => @mygroups%>
		</div>
		<div class="box">
		    <h3>我所在小组的最近话题　· · · · · ·</h3>
		    <hr/>
                    <% if @mygroups.size > 0 -%>
		    <%= render :partial=>'shared/posts', :object => @posts_at_mygroups%>
                    <% end -%>
		</div>
	    <% end -%>
	    <div class="box">
		<h3>
		<%= feed_icon_tag "订阅所有小组的最新话题", formatted_groups_path(:format => 'rss') %> 
                所有小组的最新话题......
                </h3>
		<hr/>
		<%= render :partial=>'shared/posts', :object => @posts_at_allgroups%>
	    </div>


